//
//  HJShopViewsData.m
//  Keping
//
//  Created by 柯平 on 2017/9/3.
//  Copyright © 2017年 柯平. All rights reserved.
//

#import "HJShopViewsData.h"
#import <YYKit/YYKit.h>

@implementation KShopItemTimeView

@end

@implementation KShopItemView

+(NSDictionary*)modelContainerPropertyGenericClass{
    return @{@"shopItemTimeViews":[KShopItemTimeView class]};
}

//+ (NSArray *)modelPropertyBlacklist{
//    return @[@"shopItemTimeViews"];
//}
//
//- (BOOL)modelCustomTransformFromDictionary:(NSDictionary *)dic{
//    NSArray *shopItemTimeView = [dic objectForKey:@"shopItemTimeViews"];
//    NSMutableArray *shopItemTimeViews = [NSMutableArray new];
//    for (int i = 0; i < shopItemTimeView.count; i++) {
//        NSDictionary *dict = [shopItemTimeView objectAtIndex:i];
//        KShopItemTimeView *entity = [KShopItemTimeView modelWithDictionary:dict];
//        [shopItemTimeViews addObject:entity];
//    }
//    _shopItemTimeViews = [shopItemTimeViews copy];
//    return YES;
//}

@end


@implementation KShopView

+(NSDictionary*)modelContainerPropertyGenericClass{
    return @{@"shopItemViews":[KShopItemView class]};
}

//+ (NSArray *)modelPropertyBlacklist{
//    return @[@"shopItemViews"];
//}
//
//- (BOOL)modelCustomTransformFromDictionary:(NSDictionary *)dic{
//    NSArray *showItemView = [dic objectForKey:@"shopItemViews"];
////    NSMutableArray *showItem = [NSMutableArray new];
////    for (int i = 0; i < showItemView.count; i++) {
////        NSDictionary *dict = [showItemView objectAtIndex:i];
////        KShopItemView *entity = [KShopItemView modelWithDictionary:dict];
////        [showItem addObject:entity];
////    }
//    _shopItemViews = [showItemView copy];
//    return YES;
//}

@end


@implementation KShopViewData

//+ (NSArray *)modelPropertyBlacklist{
//    return @[@"shopView"];
//}
//
//- (BOOL)modelCustomTransformFromDictionary:(NSDictionary *)dic{
//    NSArray *showView = [dic objectForKey:@"shopView"];
//    _shopView = [showView copy];
//    return YES;
//}

+(NSDictionary*)modelContainerPropertyGenericClass{
    return @{@"shopView":[KShopView class]};
}

@end


@implementation HJShopViewsData

+(NSDictionary*)modelContainerPropertyGenericClass{
    return @{@"shopViews":[KShopView class]};
}
@end

